package com.hsgene.consumables.persistence;

import com.hsgene.consumables.domain.GeneticGoodsPurchaseDetail;

import java.util.List;

public interface GeneticGoodsPurchaseDetailRepository {
    int deleteByPrimaryKey(String id);

    int insert(GeneticGoodsPurchaseDetail record);

    int insertSelective(GeneticGoodsPurchaseDetail record);

    GeneticGoodsPurchaseDetail selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(GeneticGoodsPurchaseDetail record);

    int updateByPrimaryKey(GeneticGoodsPurchaseDetail record);

    void insertPurchaseDetail(List<GeneticGoodsPurchaseDetail> purchaseDetails);
}